package com.qd.common.sys.domain.login;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode
@AllArgsConstructor
public class LoginLogDTO {
    private LoginUser loginUser;
    private String status;
    private String message;

    public void freeData() {
        this.status = null;
        this.message = null;
        if (null != loginUser) {
            loginUser.freeData();
        }
    }
}
